package com.ruoyi.tongban.mapper;

import java.util.List;
import com.ruoyi.tongban.domain.SysAgreement;

/**
 * 协议内容Mapper接口
 * 
 * @author ruoyi
 * @date 2021-05-27
 */
public interface SysAgreementMapper 
{
    /**
     * 查询协议内容
     * 
     * @param agreementId 协议内容ID
     * @return 协议内容
     */
    public SysAgreement selectSysAgreementById(Long agreementId);

    /**
     * 查询协议内容列表
     * 
     * @param sysAgreement 协议内容
     * @return 协议内容集合
     */
    public List<SysAgreement> selectSysAgreementList(SysAgreement sysAgreement);

    /**
     * 新增协议内容
     * 
     * @param sysAgreement 协议内容
     * @return 结果
     */
    public int insertSysAgreement(SysAgreement sysAgreement);

    /**
     * 修改协议内容
     * 
     * @param sysAgreement 协议内容
     * @return 结果
     */
    public int updateSysAgreement(SysAgreement sysAgreement);

    /**
     * 删除协议内容
     * 
     * @param agreementId 协议内容ID
     * @return 结果
     */
    public int deleteSysAgreementById(Long agreementId);

    /**
     * 批量删除协议内容
     * 
     * @param agreementIds 需要删除的数据ID
     * @return 结果
     */
    public int deleteSysAgreementByIds(Long[] agreementIds);
}
